package com.atguigu.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 温笙
 * @date 2021/10/24
 */
@Controller
public class HelloController {

    @RequestMapping("/")
    public String index(){
        // 返回视图名称
        return "index";
    }

    @RequestMapping("/target")
    public String target(){
        return "target";
    }

    @RequestMapping("/param")
    public String param(){
        return "param";
    }




}
